package com.haiyan.demo10_set和get方法;

public class Test {
    public static void main(String[] args) {
        Student stu=new Student();
        stu.setName("张三");
        stu.setAge(18);
        System.out.println(stu.getName()+","+stu.getAge());
        stu.show();
    }
}
